package com.wmyg.scanninggun.controller;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;


/**
 * @author ma
 * @date 2018-10-10 17:50
 */
//@Component
public class ReceiveMsg1 {
//    /**
//     * 获取信息:
//     *  queue也可以支持RabbitMQ中对队列的模糊匹配
//     * @param content
//     */
//    @RabbitListener(queues = "blog1")
//    public void receive_1(String content) {
//        // ...
//        System.out.println("[ReceiveMsg-1] receive msg接收到消息: " + content);
//
//    }

}